package Joc;

import java.util.ArrayList;

public class Joc {
	JocStates state;
	public ArrayList<String> initialvalue ;
	public static Joc instanta;
	
	private Joc(){
		initialvalue = new ArrayList<String>();
		state=null;
	}

	public static Joc getJocinstance(){
		if(instanta==null)
			instanta=new Joc();
		return instanta;
	}
	
	public  ArrayList<String> getInitialvalue() {
		return initialvalue;
	}
	public void setInitialvalue(ArrayList<String> initialvalue) {
		this.initialvalue = initialvalue;
	}
	public JocStates getState() {
		return state;
	}
	public void setState(JocStates state) {
		this.state = state;
	}
	@Override
	protected Object clone() throws CloneNotSupportedException {
		// TODO Auto-generated method stub
		return super.clone();
	}
	
	

}
